function RK() {
};

RK.error = function(message) {
};

RK.adoptFragments = function(data, fragments) {
    var array_data = fragments.split(",");
    jQuery.each(array_data, function(index, value) {
        var replace = '#' + value;
        $(replace).replaceWith($(data).filter(replace));
        $.event.trigger({
            type: "fragmentChanged",
            message: replace
        });
    });
};

function Const() {
};

Const.FRAGHEADER = 'Response-Fragments';

Const.VALIDATE_ERR_RESP_CODE = 422;

Const.CTX = '/recept-kollen';




